#include "httpserver.hpp"
#include <memory>
void Usage(std::string proc)
{
    cout << "\nUsage:\n\t" << proc << " local port\r\n\r\n";
}
bool Get(const HttpRequest &req, HttpResponse &resp)
{
}
int main(int argc, char *argv[])
{
    if (argc != 2)
    {
        Usage(argv[0]);
        exit(0);
    }
    uint16_t port = atoi(argv[1]);
    unique_ptr<HttpServer> hsvr(new HttpServer(Get, port));
    hsvr->InitHttp();
    hsvr->start();
    return 0;
}